/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.pay.entity.payexchange;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 交互日志Entity
 * @author Egan
 * @version 2016-12-26
 */
public class EcPayExchangeLog extends DataEntity<EcPayExchangeLog> {
	
	private static final long serialVersionUID = 1L;
	private String orgCode;		// 域 公司编号
	private String logId;		// 域 日志编号
	private String sysFrom;		// 域 发起系统
	private String sysTo;		// 域 目标系统
	private String exchangeDate;		// 域 交互日期
	private String exchangeTime;		// 域 交互时间
	private String exchangeType;		// 域 交互类型
	private String custCode;		// 域 零售户编码
	private String coNum;		// 域 订单编号
	private String amount;		// 域 订单金额
	private String note;		// 域 注释
	
	public EcPayExchangeLog() {
		super();
	}

	public EcPayExchangeLog(String id){
		super(id);
	}

	@Length(min=0, max=64, message="域 公司编号长度必须介于 0 和 64 之间")
	public String getOrgCode() {
		return orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}
	
	@Length(min=0, max=64, message="域 日志编号长度必须介于 0 和 64 之间")
	public String getLogId() {
		return logId;
	}

	public void setLogId(String logId) {
		this.logId = logId;
	}
	
	@Length(min=0, max=64, message="域 发起系统长度必须介于 0 和 64 之间")
	public String getSysFrom() {
		return sysFrom;
	}

	public void setSysFrom(String sysFrom) {
		this.sysFrom = sysFrom;
	}
	
	@Length(min=0, max=64, message="域 目标系统长度必须介于 0 和 64 之间")
	public String getSysTo() {
		return sysTo;
	}

	public void setSysTo(String sysTo) {
		this.sysTo = sysTo;
	}
	
	@Length(min=0, max=64, message="域 交互日期长度必须介于 0 和 64 之间")
	public String getExchangeDate() {
		return exchangeDate;
	}

	public void setExchangeDate(String exchangeDate) {
		this.exchangeDate = exchangeDate;
	}
	
	@Length(min=0, max=64, message="域 交互时间长度必须介于 0 和 64 之间")
	public String getExchangeTime() {
		return exchangeTime;
	}

	public void setExchangeTime(String exchangeTime) {
		this.exchangeTime = exchangeTime;
	}
	
	@Length(min=0, max=64, message="域 交互类型长度必须介于 0 和 64 之间")
	public String getExchangeType() {
		return exchangeType;
	}

	public void setExchangeType(String exchangeType) {
		this.exchangeType = exchangeType;
	}
	
	@Length(min=0, max=64, message="域 零售户编码长度必须介于 0 和 64 之间")
	public String getCustCode() {
		return custCode;
	}

	public void setCustCode(String custCode) {
		this.custCode = custCode;
	}
	
	@Length(min=0, max=64, message="域 订单编号长度必须介于 0 和 64 之间")
	public String getCoNum() {
		return coNum;
	}

	public void setCoNum(String coNum) {
		this.coNum = coNum;
	}
	
	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}
	
	@Length(min=0, max=3000, message="域 注释长度必须介于 0 和 3000 之间")
	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}
	
}